home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / nutil6.zip / README.TXT < prev    next >
Text File  |  1992-01-13  |  64KB  |  2,521 lines

  1.  
  2.  
  3.            N  N         U  U  TTTT  I  L     I  TTTT  I  EEEE  SSSS 
  4.            NN N         U  U    T   I  L     I    T   I  E     S    
  5.            N NN         U  U    T   I  L     I    T   I  EE     SSS 
  6.            N  N          UU     T   I  LLLL  I    T   I  EEEE  SSSS 
  7.  
  8.          The N Utilities
  9.  
  10.               Novell Utilities for the Network Administrator
  11.  
  12.  
  13.  
  14.      To:      All Network Administrators
  15.  
  16.      From:    Darwin Collins, CNE
  17.               1216 Hilburn Ct
  18.               Irving, TX 75060
  19.               Home (214) 438-2353 After 7pm CST
  20.               Work (214) 573-8687 8am - 5pm CST
  21.  
  22.      Re:      Utilities for Novell Networks!
  23.  
  24.  
  25.      Here are some general but productive utilities for the Network
  26.      Administrator.  They are all designed for interactive/batch use and
  27.      work with Netware 2.15 or later.  (Latest being Netware 3.11).
  28.      These utilities have been designed to help ease the network
  29.      administrator in his tasks of maintaining the network.
  30.      Please support the Shareware concept if these utilities save you
  31.      measurable amounts of time.  Details about registration are on the
  32.      last page.
  33.  
  34.      There are at least 35 utilities documented in this printable text
  35.      file.  Most are written using Microsoft C 6.0 and Netware C
  36.      Interface for DOS.  Also, included are some sample batch/login
  37.      scripts that illustrate some uses for the utilities.
  38.  
  39.      Utilities are described in the following documentation along with
  40.      the exitlevel codes.  Also, using  ?  as the first parameter when
  41.      executing a utility will display the syntax options allowed.
  42.  
  43.      Utilities marked 'currently unavailable' may be deleted from this
  44.      readme.txt if it is believed the utility will by difficult to
  45.      finish or appears to be unneeded.  If you do have a utility that
  46.      you would like to see, then please send a suggestion with your
  47.      registration fee.  If it is feasible to create it, then I will.
  48.  
  49.  
  50.      Caution:  It is best that you verify that your source for this
  51.      shareware (unregistered) package is a system that tries to verify
  52.      that its downloadable files are unmodified and clean.  It is
  53.      possible that someone may infect these files and/or modify these
  54.      programs and then redistribute them which then may cause you
  55.      grieve.  Please take adequate precautions.
  56.  
  57.                                   Page 1
  58.  
  59.  
  60.      NALLCARD
  61.  
  62.  
  63.          NALLCARD
  64.  
  65.  
  66.          This utility will poll all attached workstations for their
  67.          diagnostic packets.  It will display the Top 3 workstations
  68.          with the most errors, and it will create a ascii data file that
  69.          has the statistics from all polled workstations.
  70.          The ascii data file can be imported by a spreadsheet program.
  71.          Description of diagnostic codes are listed in Appendix A.
  72.  
  73.  
  74.          Returned Exitlevels are:
  75.  
  76.               9 - Syntax error.
  77.               8 - User must be logged in.
  78.               7 - Unable to access current working subdirectory.
  79.               4 - Unable to initialize IPX.
  80.               2 - Unable to open (output) report file.
  81.               0 - Normal Exit.
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.                                   Page 2
  114.  
  115.  
  116.      NCARD
  117.  
  118.  
  119.          NCARD [UserName or Connection Number]
  120.  
  121.          ei.  NCARD               get stats of current workstation.
  122.               NCARD BRENDA        get stats at BRENDA's station, or
  123.               NCARD 34            get stats at Connection # 34.
  124.                                   (specify the Connection # if the user
  125.                                   has not yet logged into the server.)
  126.  
  127.  
  128.          This utility will display the results from the diagnostic
  129.          statistics of the specified workstation.  It will only display
  130.          error statistics that are not equal to zero.
  131.          Description of diagnostic codes are listed in Appendix A.
  132.  
  133.  
  134.          Returned Exitlevels are:
  135.  
  136.               9 - Syntax error.
  137.               8 - User must be logged in.
  138.               7 - Specified connection is not active.
  139.               6 - Unable to access info on specified connection.
  140.               0 - Normal Exit.
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.                                   Page 3
  170.  
  171.  
  172.      NCHGOWN       (Supervisor-equilavent needed to run this utility)
  173.  
  174.  
  175.          NCHGOWN Drive:\Subdirectory OldOwnerName NewOwnerName
  176.  
  177.  
  178.          This utility will display/change the Directory/File ownership
  179.          of the current working subdirectory and all of its
  180.          subdirectories.  Valid ownernames consist of UserNames,
  181.          GroupNames and ServerNames.
  182.          It will ask:
  183.               OLD OWNER NAME to search or NA for deleted owners, or ALL
  184.                    for all owners found in the subdirectories
  185.               NEW OWNER NAME that the specified 
  186.  
  187.          Sample usages:  Files owned by deleted owners may be re-owned
  188.               by valid users; correctly document disk space usage by
  189.               ownership; overcome accounting limitation dealing with
  190.               deleted users; used with NRPTOWN, to produce an accurate
  191.               disk space consumption report for administration /
  192.               documentation purposes;
  193.  
  194.          Example:  NCHGOWN \APPS\ACAD11 ALL AUTOCAD
  195.                    will change the ownership of all files/directories at
  196.                    \APP\ACAD11 and all its subdirectories to the group
  197.                    owner AUTOCAD.
  198.  
  199.  
  200.          Returned Exitlevels are:
  201.  
  202.               9 - Syntax error.
  203.               8 - User must be logged in.
  204.               7 - Unable to access current work subdirectory.
  205.               6 - Must be supervisor or equivalent.
  206.               5 - Operating error.
  207.               4 - Unable to access specified subdirectory / not a server
  208.                    subdirectory.
  209.               3 - Unable to access subdirectory.
  210.               0 - Normal Exit.
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.                                   Page 4
  226.  
  227.  
  228.      NCHKCSYS
  229.  
  230.  
  231.          NCHKCSYS  MinimumFiles MinimumBuffers MinimumEnvironment
  232.  
  233.  
  234.          This utility will read the workstation's (C:\CONFIG.SYS) file
  235.          and check if the file has the minimum count of items that you
  236.          specify above.
  237.  
  238.          If COMMAND.COM does not exist on Drive C:, it will then attempt
  239.          to read CONFIG.SYS on Drive A:
  240.  
  241.          Sample Usage:  Modifying all workstations so that they will re-
  242.          serve more environment space (needed if your users have alot of
  243.          SET and/or PATH parameters); ensure that all workstations in
  244.          the field have the needed minimum conditions to operate safely
  245.          on the network; to overrule an individual 'fooling' with his
  246.          workstation;
  247.  
  248.  
  249.          Returned Exitlevels are:
  250.  
  251.               9 - Syntax error.
  252.               7 - Error reading CONFIG.SYS
  253.               6 - Error writing CONFIG.SYS
  254.               5 - Wrote New CONFIG.SYS
  255.               4 - Files number increased.
  256.               3 - Buffers number increased.
  257.               2 - Environment Space number increased.
  258.               0 - No changes made to CONFIG.SYS
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.                                   Page 5
  282.  
  283.  
  284.      NCHKRPRN           Brand New!
  285.  
  286.  
  287.          NCHKRPRN  PrintServerName  ALL
  288.               To display status of all printers on specified Print
  289.               Server.
  290.  
  291.          NCHKRPRN  PrintServerName  Printer#
  292.               To display status of specified printer and specified Print
  293.               Server.
  294.  
  295.          NCHKRPRN  CHECK
  296.               Read the (\PUBLIC\NCHKRPRN.LST) file listing to check if
  297.               the current workstation should be running RPRINTER.  If it
  298.               is, then report the status of the specified RPRINTER  (Not
  299.               Connected, Change Paper, Ready, ...).  If a Print JobName
  300.               exists in the \NCHKRPRN.LST file for the current station,
  301.               then start a CAPTURE using the specified Print JobName.
  302.  
  303.  
  304.          This utility will report the current status of the specified
  305.          printer on the specified Print Server.  Also, it can warn the
  306.          enduser that his printer needs attention, and also return an
  307.          exitlevel based upon the printer status.  (Also, this exitlevel
  308.          will enable the administrator to modify the flow on the batch
  309.          file.)
  310.  
  311.  
  312.          The following example will check to see if the current
  313.          workstation should be running RPRINTER.  If it should, then
  314.          check the status.  If RPRINTER is NOT CONNECTED (level: 2),
  315.          then  PAUSE  the screen so that the enduser can see the
  316.          message.  Otherwise, if it is not that error, then skip to the
  317.          rest of the batch file.
  318.  
  319.               NCHKRPRN CHECK
  320.               IF EXITLEVEL 3 GOTO NOPROB
  321.               IF NOT EXITLEVEL 2 GOTO NOPROB
  322.               rem  Not Connected
  323.               PAUSE
  324.               :NOPROB
  325.  
  326.  
  327.          View the file  NCHKRPRN.LST, for the correct data format of
  328.          workstation RPRINTER information.
  329.  
  330.          Sample Usages;  when setup, it will warn the enduser that he
  331.          needs to take action (Turn ON Printer, Reboot, ...) for the
  332.          printer that is directly attached to his station, while running
  333.          with RPRINTER;
  334.  
  335.  
  336.  
  337.                                   Page 6
  338.  
  339.  
  340.      NCOPYIPX
  341.  
  342.  
  343.          NCOPYIPX WorkStationDrive:\Path\IPX.COM
  344.  
  345.  
  346.          This utility will read the WorkStation's IPX.COM version and
  347.          configuration information.  It will match this against the
  348.          master on the server, and if the workstation doesn't match, it
  349.          will copy IPX.COM from the server to the workstation.  
  350.  
  351.          New on Sept. 19, 1991:  This utility will read NCOPYIPX.LST in
  352.          the current working subdirectory.  This list file will contain
  353.          workstation lan option names, and the pathname that the drivers
  354.          will be found for the specified driver type.  So, hence, you
  355.          CAN separate drivers that are made by the same manufacturer
  356.          and/or different driver types made for the same card type.
  357.          Read NCOPYIPX.LST for syntax of readable text list file.
  358.  
  359.          This utility can run as a standalone without the workstation's
  360.          network drivers loaded.(if needed)
  361.  
  362.          Sample usage:  Easily! upgrade workstations to different IPX
  363.               versions (IPX.COM);
  364.  
  365.          The current working subdirectory (that this program is called
  366.          from) must have a structure that is in a
  367.               PathName \ Interrupt# \ I/O Base \ IPX.COM  order.
  368.          For example:
  369.  
  370.               G_ETHERN\IRQ3
  371.               G_ETHERN\IRQ3\II
  372.               G_ETHERN\IRQ5\220h
  373.               G_ETHERN\IRQ5\240h
  374.               G_ETHERN\IRQ15\240h
  375.               G_ETHERN\IRQ15\240h\II
  376.               NETWORTH\IRQ12\240h
  377.               NETWORTH\IRQ15\240h
  378.               NETWORTH\IRQ15\240h\II
  379.                    EtherNet II frame IPX files are in II subdirectory.
  380.                    This utility can read the difference between a normal
  381.                    802.3 and an EtherNet II type frame.  The Ethernet_II
  382.                    framed IPX.COM but be located in the II subdirectory
  383.                    of the interrupt or the IOBase subdirectory.
  384.  
  385.          If the driver (IPX.COM) does not exist in the I/O Address
  386.          subdirectory, then it will look in the Interrupt subdirectory.
  387.          (So, hence, it will get a Networth Irq=15 IOBase=340h 's
  388.          IPX.COM from the NETWORTH\IRQ15 subdirectory if
  389.          NETWORTH\IRQ15\340h does not exist.)
  390.  
  391.          This utility has been tested on drivers by:
  392.  
  393.                                   Page 7
  394.               3-COM               Thin Wire NICs
  395.               Networth            10BaseT NICs
  396.               Gateway             Thin Wire NICs
  397.               Western Digital     Thin Wire NICs
  398.               Xircom              10BaseT Adapters
  399.  
  400.          What is wonderful about the 16bit cards, is that you set the
  401.          cards for higher interrupts than 10 to help reduce the
  402.          possibilities of conflict.
  403.          Example Setup:
  404.               in a batch file is:
  405.               CD F:\SUPPORT\DRIVERS         change to driver
  406.                                             subdirectory
  407.               NCOPYIPX C:\NET\IPX.COM       execute this utility with it
  408.                                             specifying that the
  409.                                             workstation drivers are in
  410.                                             C:\NET subdirectory.
  411.  
  412.               The program will first read the manufacturer, IRQ, and I/O
  413.               Base from the IPX driver.  It will display a message
  414.               similar to:
  415.                         Workstation Lan Option: Networth ...
  416.                         Path: Networth   Irq: IRQ15   Base: 340h
  417.  
  418.               so, the program will first look in the subdirectory
  419.               NETWORTH\IRQ15\340H for the IPX.COM file, if it doesn't
  420.               find it here then it go to the NETWORTH\IRQ15
  421.               subdirectory.  These subdirectories (NETWORTH\IRQ15, ...)
  422.               must be found under the current subdirectory (ei.
  423.               F:\SUPPORT\DRIVERS in this example) or else a message will
  424.               be returned that the driver was not found.
  425.  
  426.  
  427.          Returned Error Codes are:
  428.  
  429.               9 - Incorrect or Short Command Line parameter
  430.               8 - Workstation IPX.COM not found
  431.               7 - Could not read Workstation's temporary IPX
  432.               6 - Server IPX.COM not found
  433.               5 - Could not write workstation IPX.COM
  434.               4 - Could not read Server IPX.COM
  435.               3 - Error writing new IPX.COM file
  436.               1 - Workstation IPX.COM has been updated
  437.               0 - Date/Time stamp same between Server and Workstation
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.                                   Page 8
  450.  
  451.  
  452.      NCOPYNEW
  453.  
  454.  
  455.          NCOPYNEW Drive:\Path\SourceFileName Drive:\Path\DestFileName
  456.  
  457.  
  458.          This utility will copy contents of SourceFileName to
  459.          DestFileName, if DestFileName is older than SourceFileName or
  460.          if DestFileName does not exist.  Presently wildcards are not
  461.          supported.  This utility is small enough that it may be called
  462.          (Shelled) by another program.
  463.  
  464.          Sample usages:  Distribute newer versions of software that is
  465.               used on the workstation; distribute memos, files, and
  466.               other mass distribution;
  467.  
  468.  
  469.          Returned Error Codes are:
  470.  
  471.               9 - Invalid syntax
  472.               8 - Could not find the 1st file             
  473.               7 - Error occurred while accessing 2nd file 
  474.               6 - Error occurred while writing to 2nd file
  475.               1 - 1st FileName copied over 2nd FileName   
  476.               0 - Date/Time stamp same                    
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.                                   Page 9
  506.  
  507.  
  508.      NCOPYSCR
  509.  
  510.  
  511.          NCOPYSCR Drive:\Path\ScriptFile
  512.  
  513.  
  514.          This utility is similar to NCOPYNEW except that it reads a
  515.          script file instead of the prompt line.  A sample script file
  516.          is provided.
  517.          If the symbol ! is used before the source path\filename in the
  518.          script file, then the utility will copy the file to the
  519.          destination if the date/time stamp is not the same.
  520.          If no beginning symbol is used, then the normal 'copy if
  521.          outdated' rule applies.
  522.  
  523.          Sample usages:  Distribute newer versions of software that is
  524.               used on the workstation; distribute memos, files, and
  525.               other mass distribution;
  526.  
  527.  
  528.          Returned Error Codes are:
  529.  
  530.               9 - Syntax Error.
  531.               8 - Unable to find Script File.
  532.               6 - Error writing destination file.
  533.               0 - Normal Exit.
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.                                   Page 10
  562.  
  563.  
  564.      NCPY2SUB
  565.  
  566.  
  567.          NCPY2SUB Drive:\Path\FileName
  568.  
  569.  
  570.          This utility will copy FileName to all existing subdirectories
  571.          of the current default subdirectory.
  572.          Example:
  573.                    current subdirectory: \GRP\DOC
  574.                    NCPY2SUB \USR\SMITH\BLANKMEM.DOC
  575.                    the result will be that BLANKMEM.DOC will be copied
  576.                    to all subdirectories of \GRP\DOC  (like
  577.                    \GRP\DOC\AL, \GRP\DOC\BRENDA, \GRP\DOC\CARL, ...)
  578.  
  579.          Sample usages: distribution of configuration/document files to
  580.               individual subdirectories that are below current working
  581.               subdirectory;
  582.          Note: This utility in the past was very useful for it was a
  583.          quick way to copy the PRINTCON.DAT (Print Job Configuration
  584.          file) to all users but now the utility NMANPCON does a much
  585.          better job of this.
  586.  
  587.  
  588.          Returned Error Codes are:
  589.  
  590.               9 - Syntax Error.
  591.               8 - Unable to find specified file.
  592.               6 - Error writing destination file.
  593.               0 - Normal Exit.
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.                                   Page 11
  618.  
  619.  
  620.      NDATEDIR
  621.  
  622.  
  623.          NDATEDIR Drive:\Subdirectory
  624.  
  625.  
  626.          This utility will set all files in the current working
  627.          subdirectory (or specified in the command line) to the current
  628.          Date/Time stamp.
  629.  
  630.          Sample usages:  Files that you want to always to be archived by
  631.               the backup software; mark document subdirectories with all
  632.               the same date/time stamp;
  633.  
  634.          (specially useful for those important databases that you want
  635.          to ensure that they are completely backed up even during
  636.          incremental backup sessions)
  637.  
  638.  
  639.          Returned Error Codes are:
  640.  
  641.               9 - Syntax Error.
  642.               8 - Error accessing home subdirectory.
  643.               7 - Error accessing specified subdirectory.
  644.               0 - Normal Exit.
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.                                   Page 12
  674.  
  675.  
  676.      NDELFILE
  677.  
  678.          NDELFILE  Drive:\Path  FileMask
  679.  
  680.  
  681.          This utility will delete all files matching the specified
  682.          FileMask starting at the specified Drive:Path subdirectory and
  683.          all its nested subdirectories.
  684.          The FileMask can be composed of Wildcard (?,*) characters.
  685.  
  686.          This utility can be used in a batchfile or interactively.
  687.          If interactive, then typing  NDELFILE, alone will display a
  688.          prompt for the desired subdirectory structure and the specified
  689.          filemask(filename).  If batch, then you will need to type the
  690.          specified Drive:\Path and FileMask in the command line when
  691.          executing NDELFILE.
  692.  
  693.          Warning!  This utility will not verify if the file should or
  694.          should not be deleted.  (It will simply do what you told it).
  695.  
  696.      Usages;  Delete those .BAK and other backup files that are left by
  697.               user programs, so to save diskspace; run this process
  698.               after doing a full backup of the server; run this process
  699.               if a maintenance robot (ei. NDISK.EXE) finds that
  700.               diskspace is very low;
  701.  
  702.          Returned Error Codes are:
  703.  
  704.               9 - Syntax Error.
  705.               7 - Unable to find specified subdirectory.
  706.               6 - Encountered error when changing subdirectories
  707.               1 - Found no files to delete.
  708.               0 - Normal Exit.
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.                                   Page 13
  730.  
  731.  
  732.      NDELPRNJ
  733.  
  734.  
  735.          NDELPRNJ QueueName UserName
  736.  
  737.  
  738.          This utility will delete all Print Jobs created by UserName.
  739.          The user executing this utility must have sufficient rights to
  740.          delete print jobs.
  741.          If only the QueueName is specified, then all Print Jobs that
  742.          the user has security rights can be deleted for the specified
  743.          queue.
  744.          If the QueueName and UserName is specified, then all Print Jobs
  745.          for the specified Queue and UserName are deleted.
  746.  
  747.          Sample usages:  Allow users delete their active print jobs by
  748.               selecting an option in your menuing system;  Delete all
  749.               hung(Out of Paper, Printer OffLine, ...) PrintJobs so that
  750.               the Backup Machine (usually after Midnight) may backup the
  751.               File Server without waiting forever on the queue files to
  752.               close (so this way, also backing up the queue directory
  753.               structures);
  754.  
  755.  
  756.          Returned Error Codes are:
  757.  
  758.               9 - Syntax Error.
  759.               8 - Must be Logged In.
  760.               7 - Unable to find specified queue.
  761.               6 - Unable to find specified username.
  762.               5 - Insufficent Queue Rights.
  763.               4 - Unable to access PrintJob List.
  764.               2 - Specified Queue is empty.
  765.               1 - Deleted available PrintJobs.
  766.               0 - Normal Exit.
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.                                   Page 14
  786.  
  787.  
  788.      NDISK
  789.  
  790.  
  791.          NDISK Drive:
  792.  
  793.          This utility will display the total capacity and available disk
  794.          space of specified drive.  The available disk space will also
  795.          be returned as an errorlevel in increments of 1 Megabyte (1024
  796.          * 1024 bytes).  The maximum exitlevel returned is 255.
  797.  
  798.          Sample usages:  help alert the administrator to low disk space
  799.               available; placed in a batch file will automatically
  800.               delete redundant files if disk space is low;
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.                                   Page 15
  842.  
  843.  
  844.      NDOSVER
  845.  
  846.  
  847.          NDOSVER
  848.          If errorlevel 5 echo DOS 5 or later found
  849.          If errorlevel 4 echo DOS 4 or later found
  850.          if errorlevel 3 echo DOS 3 or later found
  851.          if errorlevel 2 echo DOS 2 or later found
  852.  
  853.  
  854.          This utility will return the major dos version as a errorlevel
  855.          exit code.  This is useful for batch files that need to call
  856.          specific programs based on the DOS version.
  857.          Sample Use: Load the correct version of NETx.COM, 
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.                                   Page 16
  898.  
  899.  
  900.      NEMSMEM
  901.  
  902.  
  903.          NEMSMEM
  904.  
  905.  
  906.          This program will return the amount of Expanded Memory (EMS)
  907.          available.  It will return the amount 10K increments as an
  908.          ExitLevel.  For example, if NEMSMEM found 2304K available, then
  909.          it will return with an exitlevel of 230.  The maximum exitlevel
  910.          that can be returned is 255.
  911.  
  912.          Sample Usages:  Insert before a application call in a batch
  913.               file, and if there isn't enough memory available, then
  914.               goto the appropriate message in the batch file;
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.                                   Page 17
  954.  
  955.  
  956.      NEQUA
  957.  
  958.  
  959.          NEQUA  ObjectName
  960.  
  961.  
  962.          This utility will return an errorlevel of 0, if the current
  963.          user is a Security Equivalent of specified ObjectName.
  964.          ExitLevel 1, if it is not equivalent.
  965.  
  966.          Sample Usage:  batch files can be tuned to specific types of
  967.          users;  
  968.  
  969.  
  970.          Sample:        NEQUA SUPERVISOR
  971.                         IF ERRORLEVEL 1 THEN GOTO  (normal user)
  972.                         super-batch-stuff
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.                                   Page 18
  1010.  
  1011.  
  1012.      NGETTIME
  1013.  
  1014.  
  1015.          NGETTIME
  1016.  
  1017.  
  1018.          This utility will display the current date / time on all
  1019.          attached servers.  This will help you decide if you need to run
  1020.          NSETTIME.
  1021.  
  1022.  
  1023.          Returned Error Codes are:
  1024.  
  1025.               1 - User must be logged in.
  1026.               0 - Normal Exit.
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.                                   Page 19
  1066.  
  1067.  
  1068.      NGROUP
  1069.  
  1070.  
  1071.          NGROUP GroupName
  1072.  
  1073.  
  1074.          This utility will return an errorlevle of 0, if the current
  1075.          user is a member of specified GroupName.
  1076.  
  1077.          ExitLevel 1, if it is not a member.
  1078.  
  1079.          Sample Usage:  batch files can be tuned to specific types of
  1080.          users;  
  1081.  
  1082.  
  1083.          Sample:        NGROUP BTRIEVE
  1084.                         IF ERRORLEVEL 1 THEN GOTO  (normal user)
  1085.                         load Brequest
  1086.                         other Btrieve specifics
  1087.  
  1088.  
  1089.          Sample:        NGROUP ANTIVIRUS
  1090.                         IF ERRORLEVEL 1 THEN GOTO  (skip this section)
  1091.                         run antivirus
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.                                   Page 20
  1122.  
  1123.  
  1124.      NLIST
  1125.  
  1126.  
  1127.          NLIST /P
  1128.  
  1129.          /P is optional command, it will pause the screen every 25 lines
  1130.          so that you may 'page' thru the output text.
  1131.  
  1132.          The purpose of this utility so that you can get an overview of
  1133.          the status of the servers on your internetwork.  It will
  1134.          display the names, netware version, and network address of all
  1135.          servers.  It will also give a summary of the connections in use
  1136.          for those servers that you are logged in.  This very useful if
  1137.          you have any Hewlett Packard Network Interface cards, or
  1138.          Castelle Print Server equipment, for it will display
  1139.          connections that have defined in PCONSOLE but are not OnLine.
  1140.  
  1141.          For Example, when the utility executes, it sees that you have
  1142.          defined 4 Print Servers on a (logged on) FileServer.  It will
  1143.          check to see if those 4 Print Servers are attached to the File
  1144.          Server, and if they are not it will display the Print Server's
  1145.          name on the screen.
  1146.  
  1147.  
  1148.          Exit Codes:
  1149.               9 - Network driver not loaded or too old.
  1150.               2 - Could not attach to a File Server.
  1151.               1 - One or more PrintServers are not attached.
  1152.               0 - Success
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.                                   Page 21
  1178.  
  1179.  
  1180.      NLOGADDR
  1181.  
  1182.  
  1183.          NLOGADDR Drive:Path\FileName /N
  1184.  
  1185.          /N is optional command, that will ask the user to type in a 30
  1186.          character description of this workstation.
  1187.  
  1188.          This utility will get physical address of UserName and insert
  1189.          this information into the specified database FileName.
  1190.  
  1191.          Sample usages:  Track login usage at the workstation level;
  1192.          trace program usage by physical station; trace previous logins
  1193.          at work station; track usage of work stations; track
  1194.          workstation conditions;  allows the network administrator a
  1195.          quick way to find who had been lately accessing the event by a
  1196.          specific workstation;
  1197.  
  1198.          Example placed in a batch file:
  1199.               NDISK C:
  1200.               IF ERRORLEVEL 2 NLOGADDR F:\WARNINGS\LOWDISK.LST
  1201.               IF C:\WP\WP.EXE NLOGADDR F:\INVENT\WPUSER.TXT
  1202.  
  1203.          The database file is in a fixed format cr/lf text file, so
  1204.          hence the administrator can do searches/lookup using any text
  1205.          editor.
  1206.  
  1207.          DataFile Layout   Field Name            Length
  1208.  
  1209.                         Physical Address           14
  1210.                         Notes                      32
  1211.                         Last Login Date             9
  1212.                         Last Login Time             6
  1213.                         Last Login Name            16
  1214.                         Previous Login Date         9
  1215.                         Previous Login Time         6
  1216.                         Previous Login Name        16
  1217.                         2nd Previous Login Date     9
  1218.                         2nd Previous Login Time     6
  1219.                         2nd Previous Login Name    16
  1220.                         Blank Space (20h)           1
  1221.                         Carriage Return (0Dh)       1
  1222.                         Line Feed (0Ah)             1
  1223.                                        ============
  1224.                                        Total  140
  1225.  
  1226.          Exit Codes:
  1227.               9 - Syntax Error.
  1228.               8 - Could not read/write to Datafile
  1229.               7 - Could not get workstation physical address
  1230.               2 - Added Login Time to existing record
  1231.               1 - Added record for this Physical address
  1232.  
  1233.                                   Page 22
  1234.  
  1235.  
  1236.      NLOGEVT
  1237.  
  1238.  
  1239.          NLOGEVT Command Drive:\Path\DataName
  1240.  
  1241.               Command choices:
  1242.  
  1243.                    B    Begin Date/Time Event for workstation
  1244.                         (log to specified DataFile)
  1245.                    E    End Date/Time Event for current workstation
  1246.                         (log to specified DataFile)
  1247.                    R    Create user (summary and sorted) usage report
  1248.                         for specified DataFile.
  1249.  
  1250.          This utility will track usage of events.  These events could
  1251.          range anywhere from keeping track of user login time to
  1252.          application utilization.  The data will be kept in the
  1253.          specified datafile (random-access fixed-field text-file).  This
  1254.          raw file can be view or printed by the network administrator.
  1255.  
  1256.          For example, you may want to keep track of who and how often
  1257.          endusers will execute a specific application.  So, in this case
  1258.          you would begin the event (ei: NLOGEVT B APP1) before you
  1259.          execute the application.  Then, in your batch file, you would
  1260.          end the event (ei: NLOGEVT E APP1) after you have finished the
  1261.          application.   Later, when you view (or do a report) on the
  1262.          specified log file (ei: NLOGEVT R APP1), you would see some
  1263.          usage stats on the User, like:
  1264.          Address        Physical Address that the enduser was at when
  1265.                         the application was ran.
  1266.          LoginName      LoginName of the enduser that accessed the
  1267.                         specified event.
  1268.          StartDate      Start date of the event for the displayed
  1269.                         loginname and station.
  1270.          StartTime      Start time of the event for the displayed
  1271.                         loginname and station.
  1272.          EndDate        End date of the event for the displayed
  1273.                         loginname and station.
  1274.          EndTime        End time of the event for the displayed
  1275.                         loginname and station.
  1276.          Abends         Number of times that the enduser rebooted or
  1277.                         otherwise did not EndEvent (ei:NLOG E APPNAME)
  1278.                         after running the application.  Or, another
  1279.                         words, the number of times that the utility was
  1280.                         told to Begin an event that already had started.
  1281.          Event Count    Number of times that an event occurred, hence,
  1282.                         the number of times that an enduser had accessed
  1283.                         the specified event.
  1284.          Event Amount   Total number of hours that the specified event
  1285.                         has accumulated.
  1286.  
  1287.  
  1288.  
  1289.                                   Page 23
  1290.  
  1291.  
  1292.      NMANPCON
  1293.  
  1294.  
  1295.          Note:  Probably you are using that SMODE trick so that you can
  1296.          use a master printcon.dat, but since it different then the
  1297.          standard operating environment, you may already been bit by the
  1298.          weaknesses of the system.  Well, this utility allows you to
  1299.          keep using a master file, without applications flaking out on
  1300.          you.  Also, this approach allows smart applications using the
  1301.          standard operating environment to capitalize on the individual
  1302.          print job configurations.
  1303.          I mean like why display a PrintJob Names to users that don't
  1304.          have the access to use them, huh?   Well, anyone way, this
  1305.          utility is to help big shops standardize.
  1306.  
  1307.  
  1308.          NMANPCON [UserName or GroupName]        This is Great !
  1309.  
  1310.               NMANPCON BRENDA     Create new printer configuration file
  1311.                                   for User BRENDA.
  1312.               NMANPCON EVERYONE   Create a new printer configuration
  1313.                                   file for all users that are a member
  1314.                                   of group EVERYONE.
  1315.  
  1316.  
  1317.          This utility will first copy the Supervisor's PRINTCON.DAT to
  1318.          specified users, and then for each user, it will remove job
  1319.          configurations that the individual user does not have
  1320.          sufficient security access.  (not a member of Queue User).
  1321.          So, hence, if you are using this with the utility NSELPRNJ, you
  1322.          never have to explain about JobNames that the users don't have
  1323.          access to, because they simply aren't displayed.
  1324.  
  1325.          Also, this will enable you to not worry about going through the
  1326.          PRINTCON routine for all your users whenever a new jobname,
  1327.          printer, or other changes are required.  Now, just set up the
  1328.          supervisor's (or supervisor equivalent) printcon configuration
  1329.          the way you like it, and then run this utility.  All users will
  1330.          then have a correct printcon file.
  1331.  
  1332.          You would need to only run this utility if:
  1333.               .  Modified the supervisor's PRINTCON.DAT file and want it
  1334.               to effect other users.
  1335.                    If it only effects a specific group, do:
  1336.                         NMANPCON  GroupName
  1337.                    else, if it effects everyone, then do:
  1338.                         NMANPCON  EVERYONE
  1339.               .  Added a new user, and so you want to create the user's
  1340.               PRINTCON.DAT configuration from the master copy.
  1341.                    Do:  NMANPCON  NewUserName
  1342.                         and thats it!
  1343.  
  1344.  
  1345.                                   Page 24
  1346.  
  1347.          Sample Usages:  Make maintaining printcon.dat files a breeze,
  1348.               for you only have to maintain on master copy; used in
  1349.               conjunction with NSELPRNJ makes an easier to use turn-key
  1350.               system; run this utility after creating new users will
  1351.               then result in a printcon.dat file correctly configured
  1352.               for those users;
  1353.  
  1354.  
  1355.          Returned Error Codes are:
  1356.  
  1357.               9 - Syntax Error.
  1358.               8 - Must be Logged In.
  1359.               7 - Unable to access current subdirectory.
  1360.               6 - Unable to find specified User or Group.
  1361.               5 - Unable to access server's MAIL subdirectory.
  1362.               4 - Unable to access supervisor's PRINTCON.DAT file.
  1363.               3 - Error in Supervisor's PRINTCON.DAT file structure.
  1364.               0 - Normal Exit.
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.                                   Page 25
  1402.  
  1403.  
  1404.      NMEM
  1405.  
  1406.  
  1407.          NMEM
  1408.  
  1409.  
  1410.          This small utility will report amount of conventional memory
  1411.          available to programs.  It will return an exitlevel by 10K
  1412.          increments.
  1413.          For example, if NMEM says that 250K is available then it will
  1414.          return an exitlevel of 25.
  1415.  
  1416.          Sample Usages:  Insert before a application call in a batch
  1417.               file, and if there isn't enough memory available, then
  1418.               goto the appropriate message in the batch file;
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.                                   Page 26
  1458.  
  1459.  
  1460.      NOPNFILE           (Only the Netware 2.x version is working)
  1461.  
  1462.  
  1463.          NOPNFILE [UserName or Connection Number]
  1464.  
  1465.          ei.  NOPNFILE BRENDA     get stats at BRENDA's station, or
  1466.               NOPNFILE 34              get stats at Connection # 34.
  1467.               NOPNFILE            will search the current directory for
  1468.                                   any open files.
  1469.  
  1470.  
  1471.          This utility will display the files that are open and current
  1472.          access levels.
  1473.  
  1474.  
  1475.          Returned Error Codes are:
  1476.  
  1477.               9 - Syntax Error.
  1478.               8 - Must be Logged In.
  1479.               7 - Must have Console Operator rights.
  1480.               6 - Specified User not found.
  1481.               5 - Specified user is not logged in.
  1482.               4 - Unable to use this utility with Netware 386.
  1483.               1 - Opened files found.
  1484.               0 - No Open Files found.
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.                                   Page 27
  1514.  
  1515.  
  1516.      NRPTBIND
  1517.  
  1518.  
  1519.          NRPTBIND ObjectName Answer
  1520.  
  1521.               if ObjectName is a User, then a User Report is created.
  1522.                    Answer Parameter is ignored.
  1523.                         ei.   NRPTBIND BONNIE
  1524.                                   for a User Report on user  BONNIE
  1525.               if ObjectName is a Group, then a Group Report is created.
  1526.                    Answer Parameter is used for question: "Create a
  1527.                    UserReport for every member in this Group (Y/N) ?".
  1528.                         ei.   NRPTBIND AUTOCAD N
  1529.                                   for a Group Report on group AUTOCAD
  1530.                         ei.   NRPTBIND AUTOCAD Y
  1531.                                   for an individual user report for
  1532.                                   every user that is a member of group
  1533.                                   AUTOCAD.
  1534.               if ObjectName is a Queue, then a Queue Report is created.
  1535.                    Answer Parameter is ignored.
  1536.                         ei.   NRPTBIND DOC-HPIII
  1537.                                   for a Queue Report on queue DOC-HPIII
  1538.               if ObjectName is a PrintServer, then a PrintServer Report
  1539.                         is created.
  1540.                    Answer Parameter is ignored.
  1541.                         ei.   NRPTBIND TRITON-P
  1542.                                   for a PrintServer Report about
  1543.                                   PrintServer named TRITON-P
  1544.  
  1545.  
  1546.          This utility will create a report for individual users, groups,
  1547.          print queues, and print servers depending on the specified
  1548.          command.
  1549.          If it is a User Report, then it will contain  Account
  1550.          Information, Direct Trustee Assignments, Group Members,
  1551.          Security Equivalences, and Queue Membership.
  1552.          If it is a Group Report, then it will only contain Direct
  1553.          Trustee Assignments, Group Members and Queue Membership.
  1554.          If it is a Queue Report, then it will contain a Queue
  1555.          Subdirectory, Queue Servers, Queue Operators and Queue Users.
  1556.          If it is a PrintServer Report, then it will contain a list of
  1557.          the PrintServer's operators and users.  Configurations for all
  1558.          configured printers, with its defined queue and notify
  1559.          settings.
  1560.  
  1561.          Note: You must a supervisor equivalent to run this report, or
  1562.          else it will only let you run a report on yourself.
  1563.  
  1564.          Sample Usages:  Document newly created users/groups/queues;
  1565.               Check status on User access status; Document your LAN;
  1566.               Avoid the trouble of needing to print-screen your
  1567.               settings;
  1568.  
  1569.                                   Page 28
  1570.  
  1571.  
  1572.          Returned Error Codes are:
  1573.  
  1574.               9 - Syntax Error.
  1575.               8 - Must be Logged In.
  1576.               7 - Unable to access current subdirectory.
  1577.               5 - Unable to find specified User / Group.
  1578.               2 - Error writing Report File.
  1579.               0 - Normal Exit.
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.                                   Page 29
  1626.  
  1627.  
  1628.      NRPTCONN  (Only the Netware 2.x version is working)
  1629.  
  1630.  
  1631.          NTRPTCONN
  1632.  
  1633.  
  1634.          This utility will display the top 10 workstations with the
  1635.          greatest amount of Total Packet Requests, KBytes Read, and
  1636.          KBytes Written.  (1 KBytes = 1024 Bytes).  A spreadsheet
  1637.          importable datafile will be written with all workstation info.
  1638.          Then sampling will be taken every 10 seconds, with the top 5
  1639.          workstations displayed.  Press any key to exit utility.
  1640.  
  1641.          User must have Console Operator rights.
  1642.  
  1643.          Usages:  Find the workstation(s) that is hogging down server
  1644.          resources;
  1645.  
  1646.  
  1647.          Returned Error Codes are:
  1648.  
  1649.               9 - Syntax Error.
  1650.               8 - Must be Logged In.
  1651.               7 - Unable to access current subdirectory.
  1652.               6 - Must be a Console Operator.
  1653.               5 - Error writing Report File.
  1654.               4 - Can use with Netware 386.
  1655.               0 - Normal Exit.
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.                                   Page 30
  1682.  
  1683.  
  1684.      NRPTEQUA      (Supervisor-equilavent needed to run this utility)
  1685.  
  1686.  
  1687.          This will create a printable report text file that will list
  1688.          all Users in alphabetical order that have security equivalences
  1689.          to another User.
  1690.  
  1691.  
  1692.          Returned Error Codes are:
  1693.  
  1694.               9 - Syntax Error.
  1695.               8 - Must be Logged In.
  1696.               7 - Unable to access current subdirectory.
  1697.               6 - Must be a Supervisor-Equivalent.
  1698.               5 - Error writing Report File.
  1699.               0 - Normal Exit.
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.                                   Page 31
  1738.  
  1739.  
  1740.      NRPTIPX       (Still working on this)
  1741.  
  1742.  
  1743.          NRPTIPX
  1744.  
  1745.  
  1746.          This utility will listen and display all incoming IPX packets.
  1747.          The source physical, destination physical, and other data is
  1748.          displayed for all packets.  100 samples are accepted before
  1749.          exiting program.  ESC will exit program.
  1750.          Usages:  Verifying that packets are getting to the workstation;
  1751.               trying to trace babbling workstations; find bad wiring;
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.                                   Page 32
  1794.  
  1795.  
  1796.      NRPTMHSU
  1797.  
  1798.  
  1799.          NRPTMHSU  Drive:\SubDirectory
  1800.  
  1801.               Drive:\Subdirectory would most likely be F:\MHS\MAIL\USERS
  1802.               or similar that points to MHS's mail subdirectories.
  1803.  
  1804.          This utility was created so that the Network Administrator can
  1805.          keep track of message traffic and disk space consumption of MHS
  1806.          mail messages.  Especially, since a message can take 4K bytes
  1807.          of disk space, it doesn't take many to result in a diskspace
  1808.          full message.
  1809.  
  1810.          Sample usage is    NRPTMHSU  H:\MHS\MAIL\USERS
  1811.  
  1812.          Output will consist of:
  1813.  
  1814.               Sent Yesterday      Files that have been created in the
  1815.                                   user's MHS mail directory on the
  1816.                                   previous date of this utility
  1817.                                   execution.
  1818.                                   This utility will also count deleted
  1819.                                   (but still salvagable files) that
  1820.                                   existed in this directory.
  1821.                                   So, hence, the count may be below
  1822.                                   actual value.
  1823.               Sent Today          Files that have been created in the
  1824.                                   user's MHS mail directory on the same
  1825.                                   date of this utility execution.
  1826.                                   This utility will also count deleted
  1827.                                   (but still salvagable files) that
  1828.                                   existed in this directory.
  1829.                                   So, hence, the count may be below
  1830.                                   actual value.
  1831.               Active Msgs         Files that are in the user's MHS mail
  1832.                                   subdirectory.
  1833.               Filed Msgs          Files that are in subdirectories
  1834.                                   further than the user's MHS mail
  1835.                                   subdirectory.  (For example,
  1836.                                   additional storage mailboxs created
  1837.                                   (ei. Futuris RightHandMan) would be
  1838.                                   counted.)
  1839.               Parcel Files        Count of files that are located in the
  1840.                                   user's MHS parcel (IPARCEL)
  1841.                                   subdirectory.
  1842.                                   Deleted files are not counted.
  1843.               DiskSpace K         Diskspace consumed in Kilobytes of all
  1844.                                   counted message and parcel files.
  1845.  
  1846.  
  1847.  
  1848.  
  1849.                                   Page 33
  1850.  
  1851.  
  1852.      NRPTPCON
  1853.  
  1854.  
  1855.          NRPTPCON  ObjectName
  1856.  
  1857.               if ObjectName is a User, then create a report on the
  1858.                    specified user.
  1859.               if ObjectName is a Group, then create a report on all
  1860.                    users that are a member of specified Group.
  1861.  
  1862.          ei.  NRPTPCON Brenda     create a report on Brenda,
  1863.               NRPTPCON MIS        create a report for every user in the
  1864.                                   group MIS.
  1865.  
  1866.  
  1867.          This utility will read the specified User's PRINTCON.DAT and
  1868.          create a printable text file of all printer configuration
  1869.          parameters.
  1870.  
  1871.          Sample usages:  Document a User's printer configuration
  1872.          setting; find dissimilar settings among users or groups; 
  1873.  
  1874.  
  1875.          Returned Error Codes are:
  1876.  
  1877.               9 - Syntax Error.
  1878.               8 - Must be Logged In.
  1879.               7 - Unable to access current subdirectory.
  1880.               6 - Specified User / Group does not exist.
  1881.               5 - Unable to Access \MAIL subdirectory.
  1882.               4 - User's PRINTCON.DAT file structure is corrupt.
  1883.               2 - Error writing report file.
  1884.               0 - Normal Exit.
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.                                   Page 34
  1906.  
  1907.  
  1908.      NRPTSCRP
  1909.  
  1910.  
  1911.          NRPTSCRP  ObjectName
  1912.  
  1913.               if ObjectName is a User, then create a report on the
  1914.                    specified user's login script file.
  1915.               if ObjectName is a Group, then create a report on all
  1916.                    users that are a member of specified group.
  1917.               if ObjectName is SYSTEM, then create a report on the
  1918.                    current server's system login script, and the
  1919.                    AUTOEXEC.NCF file.
  1920.                    (Current user must be Supervisor-equivalent)
  1921.  
  1922.               ei.  NRPTSCRP Brenda     create a report on Brenda's
  1923.                                        personal login script.
  1924.                    NRPTSCRP MIS        create a login report for every
  1925.                                        user in the group called MIS.
  1926.                    NRPTSCRP SYSTEM     create a system report that will
  1927.                                        document the system login script
  1928.                                        and also the server's
  1929.                                        autoexec.ncf batch file.
  1930.  
  1931.  
  1932.          This utility will help you document the system and personal
  1933.          login scripts for your server.  
  1934.  
  1935.          Sample Usages:  documenting your lan;
  1936.  
  1937.  
  1938.          Returned Error Codes are:
  1939.  
  1940.               9 - Syntax Error.
  1941.               8 - Must be Logged In.
  1942.               7 - Unable to access current subdirectory.
  1943.               6 - Specified User / Group does not exist.
  1944.               0 - Normal Exit.
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.                                   Page 35
  1962.  
  1963.  
  1964.      NRPTOWN
  1965.  
  1966.  
  1967.          NRPTOWN Drive:\Subdirectory
  1968.  
  1969.  
  1970.          This utility will create a report of Disk Consumption sorted by
  1971.          Owner.  The report will consist of Disk consumption of the cur-
  1972.          rent working subdirectory (or specified on command line) and
  1973.          all of its subdirectories.
  1974.  
  1975.          Sample Usages:  management reports; statistical analysis;
  1976.               tracking causes of low disk space available; notifying
  1977.               groups that their disk usage is too low/high.
  1978.  
  1979.  
  1980.          Returned Error Codes are:
  1981.  
  1982.               9 - Syntax Error.
  1983.               8 - Must be Logged In.
  1984.               7 - Unable to access current subdirectory.
  1985.               6 - Unable to access specified subdirectory.
  1986.               5 - Working subdirectory does not exist on Server.
  1987.               4 - Error while accessing subdirectories.
  1988.               2 - Error writing report file.
  1989.               0 - Normal Exit.
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.                                   Page 36
  2018.  
  2019.  
  2020.      NSELPRNJ
  2021.  
  2022.  
  2023.          NSELPRNJ
  2024.  
  2025.          ei.  NSELPRNJ            inquire from enduser the desired job
  2026.                                   configurations for each of the printer
  2027.                                   ports, ask-to-activate, and
  2028.                                   ask-to-save to a personal routing
  2029.                                   'database' file.
  2030.               NSELPRNJ SET        read the enduser's personal routing
  2031.                                   'database' file, and activate those
  2032.                                   print jobname settings.
  2033.  
  2034.  
  2035.          This utility will display a menu for the enduser to select the
  2036.          default print jobname for each of the three printer ports.
  2037.  
  2038.          Setup instructions:
  2039.               . Add the 'Default Printer Routing' in a menu item, with
  2040.                    the batch NSELPRNJ.
  2041.               . Add  NSELPRNJ SET   to your system login script.
  2042.               . Inform users that they can setup their default printer
  2043.                    routing by choosing this utility in your menu
  2044.                    program.  (Also, remind them that they can change
  2045.                    these options at anytime.)
  2046.  
  2047.               Installation complete.  From now on, when a user logs into
  2048.               the File Server, his choosen printer routings are
  2049.               automatically activated.
  2050.  
  2051.          Sample Usages:  administrator no longer has to maintain a
  2052.          personal login script or other manual settings for the enduser;
  2053.          with this, if the enduser is smart enough to pick from a menu,
  2054.          then he can maintain his own printer routing needs!; free
  2055.          administrator from maintaining the endusers' printer routing
  2056.          thru personal login scripts;
  2057.  
  2058.  
  2059.          Returned Error Codes are:
  2060.  
  2061.               9 - Syntax Error.
  2062.               8 - Must be Logged In.
  2063.               7 - Unable to access current subdirectory.
  2064.               6 - Abnormal User identity.
  2065.               5 - Insufficent rights or unable to find PRINTCON.DAT in
  2066.                    current user's MAIL subdirectory.
  2067.               4 - User's PRINTCON.DAT file is corrupt.
  2068.               0 - Normal Exit.
  2069.  
  2070.  
  2071.  
  2072.  
  2073.                                   Page 37
  2074.  
  2075.  
  2076.      NSETTIME
  2077.  
  2078.  
  2079.          NSETTIME
  2080.  
  2081.  
  2082.          Note:  You must be a Console Operator on the File Server in
  2083.          order to change the Date/Time of the File Servers.
  2084.  
  2085.          This utility will set all attached servers to the same Date /
  2086.          Time as the workstation running this utility.
  2087.          The workstation must be first set to the exact time that you
  2088.          want the servers synchronized for.
  2089.  
  2090.  
  2091.          Returned Error Codes are:
  2092.  
  2093.               8 - Must be Logged In.
  2094.               1 - Unable to set the Date/Time on all Servers.
  2095.               0 - Normal Exit.
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.                                   Page 38
  2130.  
  2131.  
  2132.      NSUBOWN       (Supervisor-equilavent needed to run this utility)
  2133.  
  2134.  
  2135.           NSUBOWN  Drive:\PathName
  2136.  
  2137.  
  2138.          This utility will display/change the File owner of all
  2139.          subdirectories below it using the directly below directories
  2140.          name.
  2141.               For instance:
  2142.               Currently at  H:\USR, and when using DIR, it will display:
  2143.                    ALVIN <Subdirectory>
  2144.                    BETTY <Subdirectory>
  2145.                    CALVIN <Subdirectory>
  2146.                    DENNIS <Subdirectory>
  2147.                    MiscFile <some files...>
  2148.               Execute this utility by  NSUBOWN  [return]
  2149.               The utility check if ALVIN is a valid owner name, if it is
  2150.               then it will set ALVIN's subdirectory (and all further be-
  2151.               low) to the owner set to ALVIN.
  2152.               Then, it will check if BETTY is a valid owner name, if it
  2153.               is then it will set BETTY has being the owner of BETTY
  2154.               subdirectory (and all further below).
  2155.               It will do this to DENNIS also.
  2156.               But, if DENNIS does not exist as an Owner, then it will
  2157.               display  Does Not Exist, and skip to the next
  2158.               subdirectory.
  2159.  
  2160.          Sample usages:  If this is done to the personal subdirectories
  2161.               then  it will give a more accurate consumption of disk
  2162.               space when using the NRPTOWN utility;  setting files to
  2163.               their correct owner(LoginName, Group, Server) will make
  2164.               them easier to administer.
  2165.  
  2166.  
  2167.          Returned Error Codes are:
  2168.  
  2169.               9 - Syntax Error.
  2170.               8 - Must be Logged In.
  2171.               7 - Unable to access current subdirectory.
  2172.               6 - Must be a supervisor or equivalent.
  2173.               5 - Unable to access specified subdirectory.
  2174.               4 - Subdirectory must exist on Server.
  2175.               3 - Error accessing subdirectories.
  2176.               0 - Normal Exit.
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.                                   Page 39
  2186.  
  2187.  
  2188.      NTRAFFIC
  2189.  
  2190.  
  2191.          NTRAFFIC       (This works on Netware 2.x and 3.x !)
  2192.  
  2193.          This utility will first display the Top 10 workstations with
  2194.          the most packets sent/received and error stats, then display
  2195.          the Top 5 most active workstations every 10 seconds.  The Top 5
  2196.          most active list will cycle for 5 minutes or until a keystroke
  2197.          is pressed.
  2198.  
  2199.          Sample Usages:  Find the most active workstations;  find a
  2200.               workstation that an application babbling on the wire;
  2201.  
  2202.  
  2203.          Returned Error Codes are:
  2204.  
  2205.               9 - Syntax Error.
  2206.               8 - Must be Logged In.
  2207.               7 - Unable to access current subdirectory.
  2208.               6 - Specified group does not exist.
  2209.               2 - Error writing report file.
  2210.               0 - Normal Exit.
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.                                   Page 40
  2242.  
  2243.  
  2244.      NXMSMEM
  2245.  
  2246.  
  2247.          NXMSMEM
  2248.  
  2249.          This program will return the amount of XMS memory available.
  2250.          (Microsoft's HIMEM.SYS is a XMS memory driver).
  2251.          It will return the amount 10K increments as an ExitLevel.  For
  2252.          example, if NXMSMEM found 2304K available, then it will return
  2253.          with an exitlevel of 230.
  2254.          The maximum exitlevel returned is 255.
  2255.  
  2256.          Sample Usages:  Insert before a application call in a batch
  2257.               file, and if there isn't enough memory available, then
  2258.               goto the appropriate message in the batch file; if there
  2259.               is enough XMS memory then load the protected version of
  2260.               the application instead of the real mode version; avoid
  2261.               the maintenance headache of keeping multiple AUTOEXEC.BAT
  2262.               and CONFIG.SYS files for different machines;
  2263.  
  2264.          For example:
  2265.  
  2266.               Use it to load the XMSNETx instead of the NETx shell.
  2267.  
  2268.                    NXMSMEM
  2269.                    if errorlevel 7      XMSNETX
  2270.                    NETX
  2271.  
  2272.               Use it load the appropiate version of Informix SmartWare.
  2273.  
  2274.                    NXMSMEM
  2275.                    if errorlevel 96 goto ProtMode
  2276.                    SMART %1%2
  2277.                    goto Next
  2278.                    echo Loading in Protected Mode
  2279.                    :ProtMode
  2280.                    SMARTP %1%2
  2281.                    :Next
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.                                   Page 41
  2298.  
  2299.  
  2300.      TABLE A:
  2301.  
  2302.  
  2303.          Diagnostic stats include:   (NCARD also uses the list below)
  2304.               #   stands for   'Number of times that'
  2305.  
  2306.          IPX Total Send Packets        
  2307.               # applications called IPX to send a packet.
  2308.          IPX Err Malformed Packets     
  2309.               # applications gave IPX a malformed packet.
  2310.          IPX Get ECB Requests          
  2311.               # IPX created a Receive ECB for a incoming packet.
  2312.          IPX Err Get ECB Failures      
  2313.               # IPX was unable to supply a ECB for an incoming  .
  2314.          IPX ECB Listen Count          
  2315.               # applications gave IPX a Listen ECB.
  2316.          IPX Err ECB Cancel Failures   
  2317.               # IPX was unable to cancel an ECB.
  2318.          IPX AES Events                
  2319.               # IPX used AES to schedule an event.
  2320.          IPX Err AES postponed Events  
  2321.               # IPX was unable to service an AES event when scheduled.
  2322.          IPX Max Configured Sockets    
  2323.               Number of Sockets available as set in configuration.
  2324.          IPX Max Open Sockets          
  2325.               Maximum number of concurrently Open Sockets.
  2326.          IPX Err Open Socket Failures  
  2327.               # an Open Socket Failure due to either all sockets used or
  2328.               socket was already open.
  2329.          IPX Err Find Route Failures   
  2330.               # IPX was not able to find a route to the server.
  2331.          SPX Max Configured Connections  
  2332.               Maximum number of Connections available as set in
  2333.               configuration parameters.
  2334.          SPX Max Used Connections      
  2335.               Maximum number of concurrently used Connections.
  2336.          SPX Estab Connect Requests    
  2337.               # applications have called SPX to establish a Connection.
  2338.          SPX Estab Connect Failures
  2339.               # a connection request failed.
  2340.          SPX Err Listen Connect Failures
  2341.               # applications called SPX to listen for connection
  2342.               requests.
  2343.          SPX Send Sequenced Packets    
  2344.               # applications called SPX to send a sequenced packet.
  2345.          SPX Err Windows Chokes        
  2346.               # a Send Request failed because the destination station
  2347.               did not allocate a receive buffer.
  2348.          SPX Err Send Failures         
  2349.               # applications gave SPX a bad send packet.
  2350.          SPX Err Abort Connections     
  2351.               # an application aborted a SPX connection.  This is not
  2352.  
  2353.                                   Page 42
  2354.               nice for an application to do.
  2355.          SPX ECB Listen Packets        
  2356.               # applications gave SPX a Listen ECB.
  2357.          SPX Err ECB Bad Listen Packet 
  2358.               # applications gave SPX a malformed packet.
  2359.          SPX Err Receive Duplicate Packets    
  2360.               # SPX has discarded a duplicate of a previously received
  2361.               packet.
  2362.          SPX Incoming Packets          
  2363.               # the driver gave SPX an incoming packet.
  2364.          SPX Err Bad Incoming Packets  
  2365.               # SPX received a packet with an incorrect connection ID.
  2366.          SPX Err No Session Listen ECB 
  2367.               # SPX did not have a Connection Listen ECB to accept an
  2368.               incoming Connection Request packet.
  2369.          SPX Err Watchdog Destroy Sessions
  2370.               # the Watchdog process destroyed an invalid connection.
  2371.          Shl Total Shell Requests      
  2372.               # the shell sent requests to a File Server.
  2373.          Shl Err Operator Aborts       
  2374.               # the User told the shell to 'A'bort the connection when
  2375.               it encountered a network error.
  2376.          Shl Err Operator Retries      
  2377.               # the User told the shell to 'R'etry the connection when
  2378.               it encountered a Network error.
  2379.          Shl Err Time Outs (Server TimedOut)
  2380.               # the shell did not a receive a reply from the server.
  2381.          Shl Err Write Error           
  2382.               # the driver was unable to send a request (even after
  2383.               several attempts).
  2384.          Shl Err Invalid Reply Header  
  2385.               # an unexpected packet was received.
  2386.          Shl Err Invalid Slot          
  2387.               # a received packet specified an incorrect connection ID.
  2388.          Shl Err Invalid Sequence #    
  2389.               # a received packet specified an incorrect sequence
  2390.               number.
  2391.          Shl Err Receive OverRun       
  2392.               # a packet was received before the driver could process
  2393.               it.
  2394.          Shl Err No Router Found       
  2395.               # the shell could not find an alternate route to the
  2396.               destination address.
  2397.          Shl Err Being Processed (Server Busy)
  2398.               # the Server replied that it was still processing the
  2399.               previous packet.
  2400.          Shl Err Unknown Error         
  2401.               # an unknown error occurred with a received packet.
  2402.          Shl Err Invalid Server Slot   
  2403.               # the shell used an invalid connection number according to
  2404.               the server.
  2405.          Shl Err Alloc No Slots Avail  
  2406.               # the server replied that it did not have any available
  2407.               connection slots.
  2408.  
  2409.                                   Page 43
  2410.          Shl Err Alloc Server is Down  
  2411.               # applications specified a file server that is down.
  2412.          Drv Total Tx Packets          
  2413.               Number of successfully transmitted packets.
  2414.          Drv Total Rx Packets          
  2415.               Number of successfully received packets.
  2416.          Drv Err Tx Retry Count        
  2417.               # a packet was resent.  (like when a collision occurs)
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.                                   Page 44
  2466.  
  2467.      [Limited License]
  2468.  
  2469.      This software is copyrighted but a limited license is granted and
  2470.      you are free to use and share it under the following conditions:
  2471.          1.   These programs are not distributed in modified form.
  2472.          2.   Reference to the copyright and author is retained.
  2473.          3.   I do request that if these programs help you in network
  2474.               administration/maintenance, and so hence you monetarily
  2475.               benefit, then send $25 (minimum) to the author.
  2476.  
  2477.      [Registration]
  2478.  
  2479.      A minimum registration fee of $25 (US currency) is:
  2480.          good for all enclosed utilities and additional utilities
  2481.          provided in future.
  2482.          Also, you have permission that all enclosed programs can be
  2483.          used on all legal network servers and workstations at your
  2484.          company, and any legal networks that you have personally
  2485.          installed.
  2486.          One current disk version will be sent to you.
  2487.          Two upgrade disk versions will be sent to you.
  2488.          Note:  For each additional $10, two additional upgrade mailings
  2489.          will be sent to you.
  2490.          Note: If you send a detailed map(chart) of your network setup,
  2491.          then you will receive one additional upgrade cycle.
  2492.  
  2493.      Payment Procedure:
  2494.  
  2495.          .    Send your business card with current shipping address.
  2496.          .    Money Order, Check and Company check are the only forms of
  2497.               accepted registration payment.  Cash is okay, but not
  2498.               preferable if you use normal postal methods.
  2499.               If Outside of US, then please send only US Postal Money
  2500.               Orders or cash (securely mailed).
  2501.          .    Send above items to :
  2502.                    Darwin Collins
  2503.                    1216 Hilburn Ct
  2504.                    Irving, Texas  75060
  2505.  
  2506.      [Warranty]
  2507.      These programs are provided "AS IS" without warranty of any kind,
  2508.      either expressed or implied, including, but not limited to the
  2509.      implied warranties of merchantability and fitness for any purpose.
  2510.      The entire risk as to the quality and performance of this program
  2511.      is with the user and should the program prove defective, the user
  2512.      and not the author will assume all responsibility with correcting
  2513.      all information.  The author does not warrant that this program
  2514.      will function in the desired mode or will meet any users
  2515.      requirements or that the operation of the program will be error
  2516.      free.
  2517.      But, You are certainly entitled to complain about Bugs you find in
  2518.      these programs.
  2519.  
  2520.  
  2521.                                   Page 45